package com.system.registrationPool.repository;

import com.system.registrationPool.bean.RegistrationPool;
import com.system.registrationPool.bean.RegistrationPoolList;
import org.springframework.data.jpa.repository.JpaRepository;

import java.time.LocalDate;
import java.util.List;

/**
 * @author 林
 */
public interface RegistrationPoolRepository extends JpaRepository<RegistrationPool, Integer> {

    List<RegistrationPool> findAllByBusinessIdAndPoolDt(int businessId, LocalDate poolDt);
}
